Skip to content

[oadp-1.6] Migrate Claude e2e failure analysis to claude-ai-helpers step-registry - #2409

Merged
openshift-merge-bot[bot] merged 2 commits into
openshift:oadp-1.6from
kaovilai:issue-2407-claude-ai-helpers-migration-1.6
Aug 25, 2026
Merged

[oadp-1.6] Migrate Claude e2e failure analysis to claude-ai-helpers step-registry#2409
openshift-merge-bot[bot] merged 2 commits into
openshift:oadp-1.6from
kaovilai:issue-2407-claude-ai-helpers-migration-1.6

Conversation

@kaovilai

Copy link
Copy Markdown
Member

Summary

Backport of #2408 to oadp-1.6. Same diff/rationale — removes the in-repo Claude CLI/Vertex AI wiring in favor of the shared claude-ai-helpers step-registry pattern (companion openshift/release PR: openshift/release#83957, wires oadp-analyze-e2e-failure into both oadp-1.6 and oadp-dev ci-operator configs).

  • build/ci-Dockerfile: drop Claude CLI install (removes openshift/velero clone step too, unlike the oadp-dev copy which was oadp-dev-branch-based anyway).
  • Makefile's test-e2e target: drop the gcp-claude-code-* credential wiring and the analyze_failures.sh invocation.
  • tests/e2e/scripts/analyze_failures.sh: kept, repurposed for local/manual use only.
  • CLAUDE.md / docs/design/claude-prow-failure-analysis_design.md: updated/marked superseded, same as oadp-dev.

oadp-1.4 and oadp-1.5 were checked and do not carry this hook, so no equivalent PR is needed for those branches.

Fixes #2407

Note

Responses generated with Claude

Backport of openshift#2408 to oadp-1.6. Remove the in-repo Claude CLI/Vertex AI
wiring from build/ci-Dockerfile and the Makefile's test-e2e target. The
gcp-claude-code-* credential files this relied on were never added to
the oadp-credentials vault collection, so it always no-op'd in CI.
Failure analysis now runs as an openshift/release step-registry
post-step (oadp-analyze-e2e-failure) using the shared claude-ai-helpers
image and sa-claude-openshift-ci credential, following the pattern used
by medik8s and hypershift.

tests/e2e/scripts/analyze_failures.sh is kept for local/manual use
only. CLAUDE.md and the design doc are updated to describe the new
architecture.

oadp-1.4 and oadp-1.5 do not carry this hook (confirmed via grep), so
no equivalent change is needed there.

Fixes openshift#2407

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: eebe99b9-3061-4277-add3-67a4b8598203

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

Replace the design doc's content with a fresh description of the
current architecture instead of framing it as a superseded/historical
document. Drop the "now-superseded" reference from CLAUDE.md.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@openshift-ci

openshift-ci Bot commented Aug 25, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Joeavaikath, kaovilai, shubham-pampattiwar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [Joeavaikath,kaovilai,shubham-pampattiwar]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kaovilai

Copy link
Copy Markdown
Member Author

this pr doesnt touch kubevirt

@kaovilai

Copy link
Copy Markdown
Member Author

/override "ci/prow/5.0-e2e-test-kubevirt-aws"
/override "ci/prow/4.22-e2e-test-kubevirt-aws"

@openshift-ci

openshift-ci Bot commented Aug 25, 2026

Copy link
Copy Markdown

@kaovilai: Overrode contexts on behalf of kaovilai: ci/prow/4.22-e2e-test-kubevirt-aws, ci/prow/5.0-e2e-test-kubevirt-aws

Details

In response to this:

/override "ci/prow/5.0-e2e-test-kubevirt-aws"
/override "ci/prow/4.22-e2e-test-kubevirt-aws"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci

openshift-ci Bot commented Aug 25, 2026

Copy link
Copy Markdown

@kaovilai: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@kaovilai kaovilai added the lgtm Indicates that a PR is ready to be merged. label Aug 25, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 6322b05 into openshift:oadp-1.6 Aug 25, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants